package cn.kgc.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    @ExcelIgnore
    private String noid;


    @ExcelProperty(value = "姓名", index = 2)
    private String name;
    @ExcelProperty(value = "部门", index = 3)

    private  String departmentname;
    @ExcelProperty(value = "职位", index = 4)

    private  String job;
    @ExcelProperty(value = "状态", index = 5)

    private String style;

    //分页相关，当前页与每页的数据条数
    @ExcelIgnore
    private Integer pageNum;
    @ExcelIgnore
    private Integer pageSize;
}

